<?php
 	header("Content-type:text/html;charset=utf-8");
	require("../class/Model.class.php");//数据库操作模型类
	require "../functions.php";//函数库
	C(include "../config.inc.php");//加载基本配置项
	$db = M("stu");
	// p($db->query("SELECT * FROM stu"));
	if($db->exe("INSERT INTO stu (sname,birthday,sex) values('郭大城','1988-2-23',1)")){
		echo "插入成功 ";
	}else{
		echo "插入失败";
	}
?>